﻿using System.Collections.Generic;
using ModuleBase;
using System.Windows;
using Point = System.Windows.Point;

namespace HostComputerPlatform.Models
{
    public class ExecutionFlowData
    {
        public List<LogicTableRowData> Rows { get; set; } = new List<LogicTableRowData>();
        public List<ModuleData> Modules { get; set; } = new List<ModuleData>();
    }

    public class LogicTableRowData
    {
        public List<string> SourceModuleIds { get; set; } = new List<string>();
        public string TrueBranch { get; set; } = "无";
        public string FalseBranch { get; set; } = "无";
    }

    public class ModuleData
    {
        public string TypeName { get; set; }
        public string Id { get; set; }
        public string Name { get; set; }
        public Dictionary<string, object> Properties { get; set; } = new Dictionary<string, object>();
    }
}